package com.etc.entity;

import java.io.Serializable;

/**
 * 挂号实体类
 * @author 小白
 *
 */
public class Registration implements Serializable{
    private Integer registrationid;//挂号Id

    private String patientTel;//病人Tel  

    private Integer doctorid;//医生Id

    private String registrationtime;//挂号时间
    
   
    
    private String patientName;
    
    private String doctorName;
    
   

    public String getPatientTel() {
		return patientTel;
	}

	public void setPatientTel(String patientTel) {
		this.patientTel = patientTel;
	}

	public String getPatientName() {
		return patientName;
	}

	public void setPatientName(String patientName) {
		this.patientName = patientName;
	}

	public String getDoctorName() {
		return doctorName;
	}

	public void setDoctorName(String doctorName) {
		this.doctorName = doctorName;
	}

	public Integer getRegistrationid() {
        return registrationid;
    }

    public void setRegistrationid(Integer registrationid) {
        this.registrationid = registrationid;
    }

    public String getPatientid() {
        return patientTel;
    }

    public void setPatientid(String patientTel) {
        this.patientTel = patientTel;
    }

    public Integer getDoctorid() {
        return doctorid;
    }

    public void setDoctorid(Integer doctorid) {
        this.doctorid = doctorid;
    }

    public String getRegistrationtime() {
        return registrationtime;
    }

    public void setRegistrationtime(String registrationtime) {
        this.registrationtime = registrationtime;
    }

	public Registration(String patientTel, Integer doctorid, String registrationtime) {
		super();
		this.patientTel = patientTel;
		this.doctorid = doctorid;
		this.registrationtime = registrationtime;
	}

	public Registration(Integer registrationid, String patientTel, Integer doctorid, String registrationtime,
			String patientName, String doctorName) {
		super();
		this.registrationid = registrationid;
		this.patientTel = patientTel;
		this.doctorid = doctorid;
		this.registrationtime = registrationtime;
		this.patientName = patientName;
		this.doctorName = doctorName;
	}
    public Registration() {
		// TODO Auto-generated constructor stub
	}
	@Override
	public String toString() {
		return "Registration [registrationid=" + registrationid + ", registrationtime=" + registrationtime
				+ ", patientName=" + patientName + ", doctorName=" + doctorName + "]";
	}
    
}